// vue.config.js
module.exports = {
    devServer: {
        // proxy: "https://whr.microger.com:18223",
        // proxy: "http://localhost:8007"
		overlay: {
		    warnings: false, //不显示警告
		    errors: false	//不显示错误
		},
        proxy: {
            '/api': {
                // target: 'https://gyljr.msokgyl.com/pros-api', //对应自己的接口
				//target: 'https://mnycapp.msokgyl.com/pros-api',
				target: 'https://mnycapp.msokgyl.com/pros-api',
                // target: 'http://localhost:8007', //对应自己的接口
                changeOrigin: true,
                ws: true,
                secure: true, 
                cookieDomainRewrite:false,
                pathRewrite: {
                    '^/api': ''
                }
            }
        }
    },
	lintOnSave: false, 
    publicPath: './'
}